﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace CommonMvc.Models.WX
{
    public class BindUsers :BasicEntityModel
    {
        public int Id { get; set; }
       //用户openId 
        public string OpenId { get; set; }
        //手机号
        public string MobileNo { get; set; }
        /// <summary>
        /// 用户的网络拨号id
        /// </summary>
        public string AdslNo { get; set; }
        //是否绑定了手机
        public int IsBindMobile { get; set; }  
        /// <summary>
        /// 手机区号
        /// </summary>
        public string MobileAreaCode { get; set; }
    }

    public class SubscribeUsers : BindUsers {
        /// <summary>
        /// 呢称
        /// </summary>
        public string NickName { get; set; }
        /// <summary>
        /// 姓别
        /// </summary>
        public int Sex { get; set; }
        /// <summary>
        /// 省份
        /// </summary>
        public string Province { get; set; }
        /// <summary>
        /// 城市
        /// </summary>
        public string City { get; set; }
        /// <summary>
        /// 国家
        /// </summary>
        public string Country { get; set; }
        /// <summary>
        /// 头像地址
        /// </summary>
        public string HeadImgUrl { get; set; }
        /// <summary>
        /// 特权
        /// </summary>
        public string Privilege { get; set; }
        /// <summary>
        /// UnionId
        /// </summary>
        public string UnionId { get; set; }
        /// <summary>
        /// 关注时间
        /// </summary>
        public DateTime SubscribeTime { get; set; }
        /// <summary>
        /// 邀请者openid
        /// </summary>
        public string ParentName { get; set; }
        /// <summary>
        /// 备注名
        /// </summary>
        public string ExtensionName { get; set; }
        /// <summary>
        /// 被邀请者的数量
        /// </summary>
        public int ChildCount { get; set; }//子成员列表
        /// <summary>
        /// 是否绑定，0 未绑定 1绑定
        /// </summary>
        public int IsBind { get; set; }
        /// <summary>
        /// 要求关注的id
        /// </summary>
        public int ParentId { get; set; }
        /// <summary>
        /// 邀请关注的类型，0 默认， 1 用户，2 营业厅
        /// </summary>
        public int ParentType { get; set; }
        /// <summary>
        /// 是否正在关注，0 正在关注， 1 取消关注
        /// </summary>
        public int IsUnSubscribe { get; set; }
        /// <summary>
        /// 用户名
        /// </summary>
        public string PersonName { get; set; }
        /// <summary>
        /// 0 普通用户 ，1 VIP用户
        /// </summary>
        public int GroupId { get; set; }
        /// <summary>
        /// 分组名
        /// </summary>
        public string GroupName { get; set; }

        public int IsSpecial { get; set; }
        /// <summary>
        /// 二维码
        /// </summary>
        public string QrUrl { get; set; }
        /// <summary>
        /// 余额
        /// </summary>
        public decimal Balance { get; set; }

        public int Point { get; set; }
        /// <summary>
        /// 支付密码
        /// </summary>
        public string PayPwd { get; set; }
        /// <summary>
        /// 支付盐
        /// </summary>
        public string PaySalt { get; set; }
    }

}
